<template>
  <div class="part-content">
    <div class="part-content__head">
      {{ partTitle }}
    </div>
    <div class="part-content__main">
      <slot></slot>
    </div>
  </div>
</template>

<script>
export default {
  name:'LayoutPart',
  props: {
    partTitle: {
      type: String,
    },
  },
  data() {
    return {};
  },
};
</script>

<style lang="scss" scoped>
.part-content {
  padding: 0 20px;
  margin-bottom: 20px;
  &__head {
    font-size: 18px;
    padding-left: 8px;
    color: var(--theme);
    margin-bottom: 20px;
    border-left: 3px solid var(--theme);
  }
}
</style>
